package com.tequila.core.dao;

import com.tequila.domain.dto.AnaDto;
import com.tequila.domain.entity.Ana;
import com.tequila.domain.query.AnaQuery;

import java.util.List;

public interface AnaDao {
    Ana queryById(Long id);

    List<AnaDto> queryByIdList(List<Long> idList);

    List<AnaDto> queryListByParam(AnaQuery query);

    List<AnaDto> queryPageListByParam(AnaQuery query);

    int queryPageCountByParam(AnaQuery query);

    int insert(Ana entity);

    int insertSelective(Ana entity);

    int updateById(Ana param);

    int updateSelectiveById(Ana param);

    int deleteById(Long id);

    int deleteByIdList(List<Long> idList);
}